package com.jiakai.cashinterfacemucon.service.impl;


import com.jiakai.cashinterfacemucon.model.Relation;
import com.jiakai.cashinterfacemucon.service.RelationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  银科的关系操作类
 *
 */
@Service
public final class YKRelationServiceImpl extends RelationServiceImpl implements RelationService {

    // 空参构造时传入第三方名称
    public YKRelationServiceImpl() {
        super("YinKe");
    }

    @Override
    public int deleteByProductID(String productID) {
        return super.deleteByProductID(productID);
    }

    @Override
    public List<Relation> selectByProductID(String productID) {
        return super.selectByProductID(productID);
    }

    @Override
    public int insertRelation(String productID, String PID3rd) {
        return super.insertRelation(productID,PID3rd);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return super.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Relation record) {
        return super.insert(record);
    }

    @Override
    public int insertSelective(Relation record) {
        return super.insertSelective(record);
    }

    @Override
    public Relation selectByPrimaryKey(Long id) {
        return super.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Relation record) {
        return super.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Relation record) {
        return super.updateByPrimaryKey(record);
    }
}
